home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / datation / pbms / install.bat next >
Encoding:
DOS Batch File  |  1992-12-21  |  1.4 KB  |  45 lines

  1. echo off
  2. cls
  3. if "%1" == ""   goto err1
  4. if "%2" == ""   goto err1
  5. if "%1" == "%2" goto err1
  6. %2
  7. cd \
  8. md \PBMAIL
  9. cd \PBMAIL
  10. %1
  11. rem cd \PB
  12. PBMS %2\PBMAIL
  13. cd \
  14. prompt=$p$g
  15. %2
  16. prompt=$p$g
  17. cls
  18. echo You are now in the %2\PBMAIL subdirectory.
  19. echo Enter this command to start the program: PB
  20.  
  21. echo ..........................................................
  22. goto end
  23. :err1
  24. cls
  25. echo You entered the wrong command to install PlusBar
  26. echo        ╔══════════════════════════════════════════════════════════╗
  27. echo        ║ To Install, log on to the drive containing               ║
  28. echo        ║ the Program diskette and type:  INSTALL from: to:        ║
  29. echo        ║                                                          ║
  30. echo        ║      "from:" is the floppy drive letter of the           ║
  31. echo        ║              PlusBar Disk                                ║
  32. echo        ║      "to:"   is the drive letter where PlusBar will be   ║
  33. echo        ║              installed.                                  ║
  34. echo        ║                                                          ║
  35. echo        ║ Copyright 1991 By Cedric Fairweather and Frank James     ║
  36. echo        ║                                                          ║
  37. echo        ║ For example, INSTALL A: C:                               ║
  38. echo        ╚══════════════════════════════════════════════════════════╝
  39. echo 
  40.  
  41. goto end
  42.  
  43. :end
  44. echo on
  45.